Finds all patients that match the specified search criteria.
public ControllerReturnCode FindPatient(
string patientID,
FindPatientOptions options,
List<PatientInfo> patients,
int maxQueryResults
)
patientID
The ID of the patient for which to search.
options
Options for the search.
patients
List of PatientInfo objects to be updated with the results of the search.
maxQueryResults
Specifies the maximum number of results to return. <
A ControllerReturnCode value indicating the results of the search.
This method is similar to FindPatient(string,FindPatientOptions,List{PatientInfo}), but allows you to pass a value for maxQueryResults that puts a limit on the number of results returned. This is useful for querying large databases, where the results returned could be unpredictably large.
Pass 'null' for patientID to get all patients.
Pass 0 for maxQueryResults if you do not want to limit the number of results returned.